<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>
    <title>Title</title>
    <meta charset="UTF-8">
</head>
<body>
<form method="post" action="<%=request.getContextPath()%>/upload.html" enctype="multipart/form-data">
    <input type="file" name="file"/>
    <button type="submit" >提交</button>
</form>

</body>
</html>
